import { _decorator, Component, Label, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('Ab_GmaeHint_bA')
export class Ab_GameHint_bA extends Component {
	@property(Label)
	private lbl_hint: Label = null;

	show(str: string){
		let np = new abi.Ab_NudityPromise_bA<Node>();
		this.node.active = true;
		this.lbl_hint.string = str;
		abi.Ab_delay_bA(1.3, ()=>np.Ab_resolve_bA(this.node));
		return np.Ab_promise_bA;
	}
}
